using System;
using spData.Common;
using spData.Common.Mappings;

namespace spMapping
{
    [Table]
    [Serializable]
    public class dc_xz_Qjwc : DataObject
    {
        [ID]
        [DID]
        public String ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } }
        private String _ID;
        public static FieldInfo id = new FieldInfo("dc_xz_QjwcXZ_Qjwc", "ID");

        [Column]
        public String Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } }
        private String _Process;
        public static FieldInfo process = new FieldInfo("dc_xz_QjwcXZ_Qjwc", "Process");

        [Column]
        public Int32 Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } }
        private Int32 _Incident;
        public static FieldInfo incident = new FieldInfo("dc_xz_QjwcXZ_Qjwc", "Incident");

        [Column]
        public String UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } }
        private String _UserName;
        public static FieldInfo userName = new FieldInfo("dc_xz_QjwcXZ_Qjwc", "UserName");

        [Column]
        public String UserFullName { get { return _UserFullName; } set { _UserFullName = value; EntityState.FieldChange("UserFullName"); } }
        private String _UserFullName;
        public static FieldInfo userFullName = new FieldInfo("dc_xz_QjwcXZ_Qjwc", "UserFullName");

        [Column]
        public String Department { get { return _Department; } set { _Department = value; EntityState.FieldChange("Department"); } }
        private String _Department;
        public static FieldInfo department = new FieldInfo("dc_xz_QjwcXZ_Qjwc", "Department");

        [Column]
        public String Tel { get { return _Tel; } set { _Tel = value; EntityState.FieldChange("Tel"); } }
        private String _Tel;
        public static FieldInfo tel = new FieldInfo("dc_xz_QjwcXZ_Qjwc", "Tel");

        [Column]
        public String ApplicationNo { get { return _ApplicationNo; } set { _ApplicationNo = value; EntityState.FieldChange("ApplicationNo"); } }
        private String _ApplicationNo;
        public static FieldInfo applicationNo = new FieldInfo("dc_xz_QjwcXZ_Qjwc", "ApplicationNo");

        [Column]
        public String Category { get { return _Category; } set { _Category = value; EntityState.FieldChange("Category"); } }
        private String _Category;
        public static FieldInfo category = new FieldInfo("dc_xz_QjwcXZ_Qjwc", "Category");

        [Column]
        public String Reason { get { return _Reason; } set { _Reason = value; EntityState.FieldChange("Reason"); } }
        private String _Reason;
        public static FieldInfo reason = new FieldInfo("dc_xz_QjwcXZ_Qjwc", "Reason");

        [Column]
        public System.DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } }
        private System.DateTime _Time;
        public static FieldInfo time = new FieldInfo("dc_xz_QjwcXZ_Qjwc", "Time");

        [Column]
        public Int32 Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } }
        private Int32 _Status;
        public static FieldInfo status = new FieldInfo("dc_xz_QjwcXZ_Qjwc", "Status");
    }
}